﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
namespace GestionComercial.Model.Entities
{
    [Table("Localidad")]
    public class Localidad
    {
        [Key]
        public Guid IdLocalidad { get; set; }

        public Guid IdProvincia { get; set; }

        [ForeignKey("IdProvincia")]
        public virtual Provincia Provincia { get; set; }

        public String NombreLocalidad { get; set; }
    }
}
